package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Permission;


public interface PermissionService {

    /*分页查询*/
    PageResult pageQuery(QueryPageBean queryPageBean);
    /*添加权限*/
    void add(Permission permission);
    /*删除权限*/
    void deleteById(Integer id);
    /*编辑数据回显*/
    Permission findById(Integer id);
    /*编辑权限*/
    void edit(Permission permission);
}
